#ifndef SELECTPROPERTYWIDGET_H
#define SELECTPROPERTYWIDGET_H

#include <QWidget>
#include <QHBoxLayout>

#include <QPushButton>


class SelectPropertyWidget : public QWidget
{
    Q_OBJECT
public:
    explicit SelectPropertyWidget(QWidget *parent = nullptr);
    ~SelectPropertyWidget();

    void setProperty(const QPair<QPoint,QPoint> &,const int &);       // 右下角坐标、选中的编号

signals:
    void deleteBtnSlot(const int &);

private:
    QHBoxLayout *hbLayout;
    QPushButton *deleteBtn;

    int propertyNumber;
};

#endif // SELECTPROPERTYWIDGET_H
